﻿@{
    ViewBag.Title = L("Ribbon_ChangePassword");
}

@Html.PasswordEx("SrcPassword", new
{
    data_val_required = L("CreateUserStatus_SrcPasswordNotNull")
})

@Html.PasswordEx("NewPassword", new
{
    data_val_regex_pattern = Consts.PasswordRegex,
    data_val_regex = L("CreateUserStatus_NewPasswordInvalid"),
    data_val_required = L("CreateUserStatus_NewPasswordNotNull")
})

@Html.PasswordEx("NewConfirmPassword", new
{
    data_val_equalTo = L("CreateUserStatus_NewPasswordNotEqualConfirm"),
    data_val_equalto_other = "*.NewPassword"
})
    
@Html.ButtonEx()

@section head{
    @Scripts.Render("~/scripts/jqueryval")
}